package wiki.hitime.stl.daq.bean.db;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.RequiredArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * 消息基础配置表(DaqMsgRuleDetailConfig)实体类
 *
 * @author zhangdp
 * @since 2019-07-15 16:59:58
 */
@Data
@Builder
@AllArgsConstructor
@RequiredArgsConstructor
@Table(name = "daq_msg_rule_detail_config")
public class DaqMsgRuleDetailConfig {
    private static final long serialVersionUID = -22589048436819887L;

    /**
     * 编号
     **/
    @Id
    @Column(updatable = false, insertable = false)
    private Long id;

    /**
     * 消息规则编号
     **/
    private Long msgRuleId;

    /**
     * 配置键
     **/
    private String configKey;

    /**
     * 配置值
     **/
    private String configValue;

    /**
     * 是否删除数据，0-有效，1-删除
     **/
    private Boolean isDelete;

       /**
     * 更新时间
     **/
    @Column(updatable = false, insertable = false)
    private Date modified;

    /**
     * 创建时间
     **/
    @Column(updatable = false, insertable = false)
    private Date created;
}
